<?php
/**
 * Created by PhpStorm.
 * @author WYZ <wyz@jungo.com.cn>
 * @copyright 深圳市俊网网络有限公司
 */

namespace Selibra\ORM\Protocols;


interface SubTableInterface
{

    /**
     * @param object $entity
     * @return mixed
     */
    public function getTableName(object $entity);


    /**
     * @param $tableName
     * @return mixed
     */
    public function getCreateSubTableSql($tableName);
}